
javah -jni B
"C:\\Program Files\Java\jdk1.7.0.80\bin\javah.exe"  -jni B

gcc -Wl,--add-stdcall-alias -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -shared -o hello.dll test.c


g++ -Wl,--add-stdcall-alias -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -shared -o hello1.dll test.cpp


javah -jni com.sunray.FinalPwd

set JAVA_HOME=C:\\Program Files\Java\jdk1.7.0.80

D:\software\mingw64\bin\g++ -Wl,--add-stdcall-alias -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -shared -o 164.dll B.cpp


D:\software\MinGW\bin\c++.exe -Wl,--add-stdcall-alias -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -shared -o final32.dll FinalPwd.cpp
